package com.ruoyi.sl.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 零工出勤天数对象 sl_oddjob_attendance
 * 
 * @author admin
 * @date 2024-06-16
 */
public class SlOddjobAttendance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出勤ID */
    private Long attendanceId;

    /** 上报人 */
    @Excel(name = "上报人")
    private String oddjobUser;

    /** 上报人昵称 */
    @Excel(name = "上报人昵称")
    private String oddjobNick;

    /** 报工日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报工日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oddjobDate;

    /** 出勤人 */
    @Excel(name = "出勤人")
    private String userName;

    /** 出勤人昵称 */
    @Excel(name = "出勤人昵称")
    private String nickName;

    /** 出勤天数 */
    @Excel(name = "出勤天数")
    private BigDecimal attendanceDay;

    /** 年 */
    @Excel(name = "年")
    private String oddjobYear;

    /** 月 */
    @Excel(name = "月")
    private String oddjobMonth;

    /** 日 */
    @Excel(name = "日")
    private String oddjobDay;

    /** 报工单ID */
    @Excel(name = "报工单ID")
    private Long rfworkId;

    public void setAttendanceId(Long attendanceId) 
    {
        this.attendanceId = attendanceId;
    }

    public Long getAttendanceId() 
    {
        return attendanceId;
    }
    public void setOddjobUser(String oddjobUser) 
    {
        this.oddjobUser = oddjobUser;
    }

    public String getOddjobUser() 
    {
        return oddjobUser;
    }
    public void setOddjobNick(String oddjobNick) 
    {
        this.oddjobNick = oddjobNick;
    }

    public String getOddjobNick() 
    {
        return oddjobNick;
    }
    public void setOddjobDate(Date oddjobDate) 
    {
        this.oddjobDate = oddjobDate;
    }

    public Date getOddjobDate() 
    {
        return oddjobDate;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setAttendanceDay(BigDecimal attendanceDay) 
    {
        this.attendanceDay = attendanceDay;
    }

    public String getOddjobYear() {
        return oddjobYear;
    }

    public void setOddjobYear(String oddjobYear) {
        this.oddjobYear = oddjobYear;
    }

    public String getOddjobMonth() {
        return oddjobMonth;
    }

    public void setOddjobMonth(String oddjobMonth) {
        this.oddjobMonth = oddjobMonth;
    }

    public String getOddjobDay() {
        return oddjobDay;
    }

    public void setOddjobDay(String oddjobDay) {
        this.oddjobDay = oddjobDay;
    }

    public BigDecimal getAttendanceDay()
    {
        return attendanceDay;
    }

    public Long getRfworkId() {
        return rfworkId;
    }

    public void setRfworkId(Long rfworkId) {
        this.rfworkId = rfworkId;
    }

    @Override
    public String toString() {
        return "SlOddjobAttendance{" +
                "attendanceId=" + attendanceId +
                ", oddjobUser='" + oddjobUser + '\'' +
                ", oddjobNick='" + oddjobNick + '\'' +
                ", oddjobDate=" + oddjobDate +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", attendanceDay=" + attendanceDay +
                ", oddjobYear='" + oddjobYear + '\'' +
                ", oddjobMonth='" + oddjobMonth + '\'' +
                ", oddjobDay='" + oddjobDay + '\'' +
                ", rfworkId=" + rfworkId +
                '}';
    }
}
